AssetWise CONNECT Edition Implementation Guide

To Run PowerShell Scripts to Generate the First Schema

Before running these, the AssetWise Storage and Repository should be created. See the AssetWise Implementation Guide for details.

In order for the AssetWise CONNECT Edition Asset Lifecycle Information Management website to work, an EC Schema must be generated.

The preferred method to generate the initial EC Schema is with the supplied PowerShell scripts.

Note: If you encounter problems with the PowerShell script, the EC Schema may be generated manually. Refer to Generating the First AssetWise Schema for more information.

Follow these steps to generate the EC Schema using the PowerShell script.

  1. On the system where AssetWise is installed, navigate to ec_schemas\FirstSchemaGen.
  2. Using a text editor, open settings.xml.
  3. Replace each parameter highlighted in yellow below, with appropriate values.
  4. On the AssetWise server, open PowerShell.
    Note: In order to run PowerShell, the user must have been granted PowerShell permissions. This applies regardless of whether the user is part of the Administrators group.
  5. Enter the following command: Set-PSSessionConfiguration -Name Microsoft.PowerShell -showSecurityDescriptorUI
  6. In the Confirm dialog, click Yes.
  7. Click OK.
  8. In the Confirm dialog, click Yes.
  9. Right-click ec_schemas\FirstSchemaGen\generate_schema.ps1 and select Edit. PowerShell opens.
  10. From the command prompt, type .\generate_schema.ps1 and press <Enter>.
The schema generation starts.